/*package com.cqut.forum.entity;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

*//**
 * @author yangxun
 * AritcleVisitLog entity
 *//*
@Table(name = "aritcle_visit_log", catalog = "forum")
public class AritcleVisitLog implements java.io.Serializable {

	// Fields

	*//**
	 * 
	 *//*
	private static final long serialVersionUID = 1L;
	private Integer visitLogId;
	private Article article;
	private Integer visitUserId;
	private Date visitTime;
	private Boolean visitLogState;
	// Constructors

	*//** default constructor *//*
	public AritcleVisitLog() {
	}

	*//** full constructor *//*
	public AritcleVisitLog(Article article, Integer visitUserId, Date visitTime, Boolean visitLogState) {
		this.article = article;
		this.visitUserId = visitUserId;
		this.visitTime = visitTime;
		this.visitLogState = visitLogState;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "visit_log_id", unique = true, nullable = false)
	public Integer getVisitLogId() {
		return this.visitLogId;
	}

	public void setVisitLogId(Integer visitLogId) {
		this.visitLogId = visitLogId;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "article_id")
	public Article getArticle() {
		return this.article;
	}

	public void setArticle(Article article) {
		this.article = article;
	}

	@Column(name = "visit_user_id")
	public Integer getVisitUserId() {
		return this.visitUserId;
	}

	public void setVisitUserId(Integer visitUserId) {
		this.visitUserId = visitUserId;
	}

	@Column(name = "visit_time", length = 10)
	public Date getVisitTime() {
		return this.visitTime;
	}

	public void setVisitTime(Date visitTime) {
		this.visitTime = visitTime;
	}
	@Column(name = "visit_log_state")
	public Boolean getVisitLogState() {
		return visitLogState;
	}

	public void setVisitLogState(Boolean visitLogState) {
		this.visitLogState = visitLogState;
	}
}*/